package com.zh.web.domain.media.vo;

import com.zh.web.domain.media.entity.Video;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "视频vo")
public class VideoVo extends Video implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("点赞量")
    private Integer praiseCount;
    @ApiModelProperty("收藏量")
    private Integer collectCount;
    @ApiModelProperty("浏览量")
    private Integer viewCount;
    @ApiModelProperty("分享量")
    private Integer shareCount;
    @ApiModelProperty("评论数")
    private Integer commentCount;
    @ApiModelProperty("我是否点赞了")
    private Boolean isPraised=false;
    @ApiModelProperty("我是否收藏了")
    private Boolean isCollected=false;
}
